!/bin/sh

if [ $(arch) = "x86_64" ]
    then
        wget https://libregamenight.xyz/pub/annexctw/data/amd64.tar.gz
        tar -zxvf amd64.tar.gz
        cd annex-amd64
    else
        wget https://libregamenight.xyz/pub/annexctw/data/i386.tar.gz
        tar -zxvf i386.tar.gz
        cd annex-i386
fi

echo "Time to reap the profits, now!"
echo "If everything, went smoothly, you're now in the directory with the binaries."
echo "Run annex when you're ready."
echo "(With a period, slash, and then file-name-- in this case, './annex')"
echo "Cheers!"
